import React from 'react'
import { Popconfirm, Modal, Input, Table, Button } from 'antd'



export default function List(props) {


    const { tableData, switchState, onOk, rgxcData } = props;


    /*  
     rgxcData-->
 
     czry: "顾艳"
     fj: null
     geom: "POINT (104.333653 28.204189)"
     id: "4028c4f88a3149e3018a3166bdfb0004"
     isyj: "是"
     key: "4028c4f88a3149e3018a3166bdfb0004"
     lrr: "余明"
     lrsj: null
     ms: "新疆维吾尔自治区 克拉玛依市 克拉玛依区发生泥石流灾害"
     rwid: null
     sfxg: null
     tbr: "谢杰"
     tbrdh: "18635722464"
     xcd: null
     xq: "{}"
     yhlx: "irure laborum"
     zhxgsj: "2023-08-26 00:00:00"
     zqbid: "重庆市"
     zrr: "蔡敏"
     zrrdh: "19856192644"
  */
    const onCancel = () => {

    }

    return (
        <div>
            <div>
                <Modal
                    title={tableData.ms}
                    open={switchState}
                    onOk={onOk}
                    onCancel={onOk}
                    mask={false}
                    width={600}
                    closable={false}
                    bodyStyle={{
                        //height: 400
                    }}
                    okText="反馈">

                    责任人:{tableData?.zrr}&nbsp;&nbsp;&nbsp;
                    联系电话:{tableData?.zrrdh}
                    <br></br>
                    填报人:{tableData?.tbr}&nbsp;&nbsp;&nbsp;
                    联系电话:{tableData?.tbrdh}
                    <br></br>
                    <br></br>
                    风险情况描述
                    <Input.TextArea rows={3} placeholder='' value={`${tableData?.ms}`}/>
                    <br></br>
                    风险应对措施
                    <Input.TextArea rows={3} placeholder='待输入' />
                    <br></br>
                    已采取应对措施
                    <Input.TextArea rows={3} placeholder='待输入' />


                </Modal>
            </div>
        </div>
    )
}
